package main.java.model;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

public class CommandTransmitter {
	private String date;
	private List<CommandBean> commands;
	private static String vin;
	
	public CommandTransmitter()		{
		date = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
	}
	
	public CommandTransmitter(List<CommandBean> commands)		{
		this();
		this.commands = commands;
	}

	@Override
	public String toString() {
		return "CommandTransmitter [date=" + date + ", commands=" + commands
				+ ", vin=" + vin + "]";
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public List<CommandBean> getCommands() {
		return commands;
	}

	public void setCommands(List<CommandBean> commands) {
		this.commands = commands;
	}

	public String getVin() {
		return vin;
	}

	public void setVin(String vin) {
		this.vin = vin;
	}
}
